package com.holyn.guofang.model.webhttp.wo;

import java.util.List;

/**
 * Created by Holyn on 2017/8/14.
 */

public class CardOrderDetailWo extends StatusWo {
    private static final long serialVersionUID = 11112222L;


    /**
     * order : {"id":123,"orderCode":"TA201706280001","sumPrice":2000,"orderTime":"2017-07-28 10:30:23","payStatus":true,"payWay":2,"offlinePayStatus":false,"offlinePayTime":"","payTime":"2017-07-28 10:33:23","remark":"","orderType":1}
     * userCard : {"id":12,"name":"次 卡A","price":2000,"productCode":"010203"}
     * attachedCard : [{"id":13,"name":"次 卡A附 属 卡A","price":500,"count":1,"sumPrice":500},{"id":14,"name":"次 卡A附 属 卡B","price":600,"count":2,"sumPrice":1200}]
     * couponCard : [{"id":15,"name":"优 惠 卡A","discountRate":80},{"id":16,"name":"优 惠 卡B","discountRate":75}]
     * sumPrice : 3000
     * offlinePay : 开 户 银 行 名 称:AAA银 行
     开 户 名 称: 张
     银 行 账 号:123456789
     */

    private OrderBean order;
    private UserCardBean userCard;
    private int sumPrice;
    private String offlinePay;
    private List<AttachedCardBean> attachedCard;
    private List<CouponCardBean> couponCard;

    public OrderBean getOrder() {
        return order;
    }

    public void setOrder(OrderBean order) {
        this.order = order;
    }

    public UserCardBean getUserCard() {
        return userCard;
    }

    public void setUserCard(UserCardBean userCard) {
        this.userCard = userCard;
    }

    public int getSumPrice() {
        return sumPrice;
    }

    public void setSumPrice(int sumPrice) {
        this.sumPrice = sumPrice;
    }

    public String getOfflinePay() {
        return offlinePay;
    }

    public void setOfflinePay(String offlinePay) {
        this.offlinePay = offlinePay;
    }

    public List<AttachedCardBean> getAttachedCard() {
        return attachedCard;
    }

    public void setAttachedCard(List<AttachedCardBean> attachedCard) {
        this.attachedCard = attachedCard;
    }

    public List<CouponCardBean> getCouponCard() {
        return couponCard;
    }

    public void setCouponCard(List<CouponCardBean> couponCard) {
        this.couponCard = couponCard;
    }

    public static class OrderBean {
        /**
         * id : 123
         * orderCode : TA201706280001
         * sumPrice : 2000
         * orderTime : 2017-07-28 10:30:23
         * payStatus : true
         * payWay : 2
         * offlinePayStatus : false
         * offlinePayTime :
         * payTime : 2017-07-28 10:33:23
         * remark :
         * orderType : 1
         */

        private int id;
        private String orderCode;
        private int sumPrice;
        private String orderTime;
        private boolean payStatus;
        private int payWay;
        private boolean offlinePayStatus;
        private String offlinePayTime;
        private String payTime;
        private String remark;
        private int orderType;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getOrderCode() {
            return orderCode;
        }

        public void setOrderCode(String orderCode) {
            this.orderCode = orderCode;
        }

        public int getSumPrice() {
            return sumPrice;
        }

        public void setSumPrice(int sumPrice) {
            this.sumPrice = sumPrice;
        }

        public String getOrderTime() {
            return orderTime;
        }

        public void setOrderTime(String orderTime) {
            this.orderTime = orderTime;
        }

        public boolean isPayStatus() {
            return payStatus;
        }

        public void setPayStatus(boolean payStatus) {
            this.payStatus = payStatus;
        }

        public int getPayWay() {
            return payWay;
        }

        public void setPayWay(int payWay) {
            this.payWay = payWay;
        }

        public boolean isOfflinePayStatus() {
            return offlinePayStatus;
        }

        public void setOfflinePayStatus(boolean offlinePayStatus) {
            this.offlinePayStatus = offlinePayStatus;
        }

        public String getOfflinePayTime() {
            return offlinePayTime;
        }

        public void setOfflinePayTime(String offlinePayTime) {
            this.offlinePayTime = offlinePayTime;
        }

        public String getPayTime() {
            return payTime;
        }

        public void setPayTime(String payTime) {
            this.payTime = payTime;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public int getOrderType() {
            return orderType;
        }

        public void setOrderType(int orderType) {
            this.orderType = orderType;
        }
    }

    public static class UserCardBean {
        /**
         * id : 12
         * name : 次 卡A
         * price : 2000
         * productCode : 010203
         */

        private int id;
        private String name;
        private int price;
        private String productCode;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getPrice() {
            return price;
        }

        public void setPrice(int price) {
            this.price = price;
        }

        public String getProductCode() {
            return productCode;
        }

        public void setProductCode(String productCode) {
            this.productCode = productCode;
        }
    }

    public static class AttachedCardBean {
        /**
         * id : 13
         * name : 次 卡A附 属 卡A
         * price : 500
         * count : 1
         * sumPrice : 500
         */

        private int id;
        private String name;
        private int price;
        private int count;
        private int sumPrice;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getPrice() {
            return price;
        }

        public void setPrice(int price) {
            this.price = price;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public int getSumPrice() {
            return sumPrice;
        }

        public void setSumPrice(int sumPrice) {
            this.sumPrice = sumPrice;
        }
    }

    public static class CouponCardBean {
        /**
         * id : 15
         * name : 优 惠 卡A
         * discountRate : 80
         */

        private int id;
        private String name;
        private int discountRate;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getDiscountRate() {
            return discountRate;
        }

        public void setDiscountRate(int discountRate) {
            this.discountRate = discountRate;
        }
    }
}
